<template>
  <PageController @back="$emit('back')"></PageController>
</template>

<script setup>
import { defineAsyncComponent, provide } from 'vue'

const PageController = defineAsyncComponent(() => import('@/components/viewer/PageController.vue'))

const props = defineProps({
  router: { type: Object, required: true },
})
defineEmits(['back'])
provide('viewerRouter', props.router)
</script>
